<%-- 
    Document   : detail
    Created on : 2013-4-25, 16:55:11
    Author     : Administrator
--%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
        <style>
            table{
                border-collapse:collapse; 
            }
            td{border:1px solid #aaa;background-color: white;}
            th{background-color: #F2F4B9;}
        </style>
    </head>
    <body>
        <table border="1" cellpadding="0" cellspacing="0" width="100%" height="100%">
            <tr>
                <th width="150">预警规则：</th>
                <td>${warn.content}</td>
                <th width="150">状态：</th>
                <td>${warn.status}</td>
            </tr>
            <tr>
                <th>扫描时间：</th>
                <td>${warn.scan_time}</td>
                <th>所属机构：</th>
                <td>${warn.orgName}</td>
            </tr>
            <tr>
                <th valign="top">接收安全职员：</th>
                <td colspan="3">
                    <table border="1">
                        <tr><th width="150">姓名</th><th width="150">所属机构</th></tr>
                                <c:forEach var="emp" items="${emps}">
                            <tr>
                                <td>${emp.name}</td>
                                <td>${emp.orgName}</td>
                            </tr>
                        </c:forEach>
                    </table>
                </td>
            </tr>
        </table>
    </body>
</html>
